package com.ExtendsOverride;

import java.util.ArrayList;

public class Test {
    public static void main(String[] args) {
        B b=new B();
        b.print();
        b.print2(2,3);
        System.out.println("----------");
       Student s=new Student("波妞",19);
        System.out.println(s.toString());
        ArrayList List=new ArrayList();
        List.add("java");
        System.out.println(List);

    }
}
